.TH "Object3D" 3 "11 Jun 2010" "Version Core 1.0" "Computer Graphics" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Object3D \- 
.SH SYNOPSIS
.br
.PP
\fC#include <Object3D.h>\fP
.PP
Inherits \fBMesh\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBObject3D\fP ()"
.br
.ti -1c
.RI "\fBObject3D\fP (\fBMesh\fP *m)"
.br
.ti -1c
.RI "\fBObject3D\fP (\fBObject3D\fP &\fBobj\fP)"
.br
.ti -1c
.RI "\fB~Object3D\fP ()"
.br
.ti -1c
.RI "void \fBdraw\fP ()"
.br
.RI "\fIDraw object onto screen. \fP"
.ti -1c
.RI "void \fBset_com\fP (\fBVertex3D\fP v)"
.br
.RI "\fIChanges center of mass. \fP"
.ti -1c
.RI "void \fBcompute_com\fP ()"
.br
.RI "\fICalculates the center of mass. \fP"
.ti -1c
.RI "void \fBmove\fP (\fBVertex3D\fP \fBpos\fP)"
.br
.RI "\fIMove object to determined position. \fP"
.ti -1c
.RI "void \fBscale\fP (GLdouble factor, \fBTAxis\fP axis)"
.br
.RI "\fIScale object. \fP"
.ti -1c
.RI "void \fBrotate\fP (GLdouble degree, \fBTAxis\fP axis)"
.br
.RI "\fIRotate object. \fP"
.ti -1c
.RI "void \fBextrude\fP (\fBTriangle\fP *t, GLdouble dist)"
.br
.RI "\fIExtrude face of object. \fP"
.ti -1c
.RI "void \fBmerge\fP (\fBObject3D\fP *)"
.br
.RI "\fIMerge the Object with other. \fP"
.in -1c
.SH "Detailed Description"
.PP 
Definition at line 27 of file Object3D.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "Object3D::Object3D ()"
.PP
Definition at line 13 of file Object3D.cpp.
.SS "Object3D::Object3D (\fBMesh\fP * m)"
.PP
Definition at line 24 of file Object3D.cpp.
.SS "Object3D::Object3D (\fBObject3D\fP & obj)"
.PP
Definition at line 31 of file Object3D.cpp.
.SS "Object3D::~Object3D ()"
.PP
Definition at line 59 of file Object3D.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void Object3D::compute_com ()"
.PP
Calculates the center of mass. 
.PP
Definition at line 114 of file Object3D.cpp.
.SS "void Object3D::draw ()"
.PP
Draw object onto screen. 
.PP
Definition at line 64 of file Object3D.cpp.
.SS "void Object3D::extrude (\fBTriangle\fP * t, GLdouble dist)"
.PP
Extrude face of object. 
.PP
\fBParameters:\fP
.RS 4
\fItriang\fP : one of the triangles that compound the face 
.br
\fIdist\fP : distance to extrude where sign determines direction 
.RE
.PP

.PP
Definition at line 183 of file Object3D.cpp.
.SS "void Object3D::merge (\fBObject3D\fP * b)"
.PP
Merge the Object with other. 
.PP
\fBParameters:\fP
.RS 4
\fIb,:\fP The object to merge 
.RE
.PP

.PP
Definition at line 235 of file Object3D.cpp.
.SS "void Object3D::move (\fBVertex3D\fP pos)"
.PP
Move object to determined position. 
.PP
\fBParameters:\fP
.RS 4
\fIpos\fP : new position of the center of mass 
.RE
.PP

.PP
Definition at line 132 of file Object3D.cpp.
.SS "void Object3D::rotate (GLdouble degree, \fBTAxis\fP axis)"
.PP
Rotate object. 
.PP
\fBParameters:\fP
.RS 4
\fIdegree\fP : degrees to rotate 
.br
\fIaxis\fP : axis to rotate around 
.RE
.PP

.PP
Definition at line 172 of file Object3D.cpp.
.SS "void Object3D::scale (GLdouble factor, \fBTAxis\fP axis)"
.PP
Scale object. 
.PP
\fBParameters:\fP
.RS 4
\fIfactor\fP : scale factor 
.br
\fIaxis\fP : scale the object restricted to axis 
.RE
.PP

.PP
Definition at line 141 of file Object3D.cpp.
.SS "void Object3D::set_com (\fBVertex3D\fP v)"
.PP
Changes center of mass. 
.PP
Definition at line 108 of file Object3D.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for Computer Graphics from the source code.
